package com.code.translate.plugins;

import com.code.translate.function.TextTranslatePlugin;

import java.util.Map;

/**
 * @author ggh
 * @date 2022/8/5
 * <p>
 * papago翻译(废弃，太慢)
 */
public class PapagoTranslatePlugin extends TextTranslatePlugin {
    private final static String indexUrl = "https://papago.naver.com/";
    private final static String translateUrl = "https://papago.naver.com/apis/n2mt/translate";
    private final static String refer = "https://papago.naver.com/";

    private final static Integer signleTranslateTextLen = 5000;

    @Override
    protected Map<String, Object> prepare() {
        return null;
    }

    @Override
    protected String doTranslate(String text, Map<String, Object> params) {
        return null;
    }
}
